import Taro, { Component } from '@tarojs/taro'
import { View, Text, Image } from '@tarojs/components'
import './index.css'
import { AtList, AtListItem } from "taro-ui"
import { $navigateTo, $redirectTo, getGlobalData, $navigateBack } from '../../../global';
import app from '../../../main.js'
export default class Index extends Component {

  config = {
    navigationBarTitleText: '科普视频'
  }
  shipin = () => {
    $navigateTo("../shipinbofang/index")
  }
  componentWillMount() { }

  componentDidMount() { }

  componentWillUnmount() { }

  componentDidShow() { }

  componentDidHide() { }

  render() {
    return (
      <View className='index'>
        <View onClick={this.shipin}>
          <View className='at-article box'>
            <Image
              className='a'
              src={getGlobalData('baseurl')+'img/4606fb25e4a503cb7057863ca527bbc7.jpg'}
            />
            <View className='at-article__h2'>
              眼部保护视频
  </View>
            <View className='at-article__h3'>
              主讲医师：陈晓明
  </View>
            <View className='at-article__h3'>
              广州人民医院 主任医师
  </View>

          </View>

          <View className='at-article box'>
            <Image
              className='a'
              src={getGlobalData('baseurl')+'img/b73c7954184a345438301249472a2d21.jpg'}
            />


            <View className='at-article__h2'>
              眼部保护视频
  </View>
            <View className='at-article__h3'>
              主讲医师：李晓东
  </View>
            <View className='at-article__h3'>
              广州人民医院 主任医师
  </View>
          </View>
        </View>
      </View>

    )
  }
}

